﻿namespace Fp.Net
{
    public class ShareEvent{}
    // EventBus 消息事件
    public struct NetMessageEvent:IEvent
    {
        public int ClientId;
        public MessageCategory Category;
        public MessageCommand Command;
        public string Payload;
    }

    public struct SystemEvent : IEvent
    {
        public int ClientId;
        public bool IsConnected;
    }

    public struct ReconnectEvent : IEvent
    {
        public int ClientId;
    }
    
}